//
//  MKGrantRule.m
//  YangDongXi
//
//  Created by 朱艳娇 on 15/12/11.
//  Copyright © 2015年 yangdongxi. All rights reserved.
//

#import "MKGrantRule.h"

@implementation MKGrantRule
+ (NSDictionary *)propertyAndKeyMap
{
    return @{
             @"sourceType":@"source_type",
             @"ruleType":@"rule_type",
             @"ruleModelList":@"rule_module_list",
             };
}

+ (Class)classForArrayItemWithName:(NSString *)propertyName andIndex:(NSInteger)index
{
    if ([propertyName isEqualToString:@"ruleModelList"])
    {
        return [MKRuleModel class];
    }
    return nil;
}

@end
